home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / TOUR.TEC < prev    next >
Text File  |  1992-03-09  |  22KB  |  373 lines

  1. ID:TO QEMM-386's Parameters and how they affect your system
  2. DESQview Technical Note #228
  3. by Quarterdeck Testing & Compatibility Department
  4. December 27, 1991
  5.  
  6.                               GRAND TOUR: 
  7.        USING MANIFEST TO SEE THE EFFECT OF QEMM-386'S PARAMETERS
  8.  
  9.      This is a tour of your computer through the facilities of Manifest to see 
  10. how the parameters of QEMM can affect the performance of your machine and to 
  11. learn about your machine.  The screen of Manifest under discussion is 
  12. identified by listing the principal section, as displayed in the vertical menu 
  13. on the left of the Manifest screen, first, then a "/", then the subsection of 
  14. that principal section, as displayed on the horizontal menu at the top of the 
  15. Manifest screen.
  16.  
  17.      The first stop of the tour is the Overview screen of the QEMM-386 
  18. section.  
  19.  
  20. QEMM PARAMETER:  STEALTHROM (ST)
  21. MANIFEST VIEW:  QEMM-386/OVERVIEW
  22.      On the QEMM-386/Overview screen MANIFEST reports what version of Stealth 
  23. is being used on the line "Stealth Type".  On the line below that it reports 
  24. what ROMs are being "Stealth"ed, followed by how large the ROM is.
  25.  
  26. QEMM PARAMETER:  SUSPENDRESUME (SUS)
  27. MANIFEST VIEW:  QEMM-386/MEMORY
  28.      If you have a laptop computer with a "RESUME" feature that QEMM-386 is 
  29. supporting, the interrupt QEMM is hooking to support this is listed on the 
  30. QEMM-386/Overview screen.  You can force QEMM-386 to use any particular 
  31. interrupt with the parameter SUS:XX where XX is the interrupt you wish QEMM to 
  32. hook for this purpose.
  33.  
  34.     The second stop of the tour is the Memory screen of the QEMM-386 section.
  35.  
  36. QEMM PARAMETER:  NOFILL (NO)
  37. MANIFEST VIEW:  QEMM-386/MEMORY
  38.      If you have less than 640K of conventional memory before you load QEMM-
  39. 386 then the "Initial" column of the "Conventional" line of the QEMM-
  40. 386/Memory screen of Manifest will report this.  QEMM-386 will map memory into 
  41. the vacant address space below 640K to extend conventional memory up to 640K.  
  42. If some program objects to this (Microsoft's "Windows" in enhanced mode is one 
  43. such program.) then the NOFILL (NO) parameter will stop this from happening.
  44.  
  45. QEMM PARAMETER:  NOVIDEOFILL (NV)
  46. MANIFEST VIEW:  QEMM-386/MEMORY
  47.      If you have monochrome or Hercules or CGA video then address space above 
  48. 640k and contiguous with conventional memory is available. QEMM386 will 
  49. automatically map memory to this address space to give you 704K (monochrome or 
  50. Hercules) or 736K (CGA) conventional memory.  The "Converted by QEMM" column 
  51. of the "Conventional" line of the QEMM-386/Memory of Manifest will report that 
  52. QEMM has converted 64K (or 96K) memory, leaving 704K or 736K of conventional 
  53. memory.  Some programs may object to this.  The NOVIDEOFILL (NV) switch will 
  54. stop this from happening.
  55.  
  56. QEMM PARAMETER:  NOXBDA (NX)
  57. MANIFEST VIEW:  QEMM-386/MEMORY
  58.      We are still on the Conventional Memory line.  If the "Initial" column of 
  59. the "Conventional" line of the QEMM-386/Memory screen of Manifest is 639K (on 
  60. some computers it may be 638K or some other number) then there may be a 1K (or 
  61. more) piece of memory called the "Extended BIOS Data Area".  This is a piece 
  62. of memory used by the BIOS to store information.  The specification by which 
  63. the XBDA (as we abbreviate it) allows it to be moved; its address is stored in 
  64. the BIOS data area after the parallel ports at address 40:E (see the First 
  65. Meg/BIOS Data screen of Manifest).
  66.      Unfortunately not all users of the XBDA go to the BIOS Data area to see 
  67. where the XBDA is; they presume that it is at 639K, read what is there, and if 
  68. that is not where the XBDA is they get the wrong information and misbehave.  
  69. QEMM moves the XBDA by default into low memory (QEMM's conventional memory 
  70. overhead increases by 1K when this happens; see the last line on the QEMM-386 
  71. Memory screen to see this effect.)  The parameter "NOXBDA" ("NX") keeps 
  72. QEMM386 from moving the XBDA.  If you have an XBDA and run a program that only 
  73. looks for it at 639K then you need this switch.  It is possible that a hard 
  74. drive controller or some other device creates the XBDA.
  75.  
  76. QEMM PARAMETER:  EXTMEM (EXT)
  77. MANIFEST VIEW:  QEMM-386/MEMORY
  78.      On the "Extended ..." line of the QEMM-386/Memory screen of Manifest you 
  79. can see a report of how much extended memory QEMM-386 sees on your machine and 
  80. what QEMM-386 is doing with it.  You may notice that the number in the 
  81. "Initial" column is not as much as you thought you should have.  Say you have 
  82. a four megabyte system:  This probably means 4096 kilobytes.  Subtract 640 
  83. kilobytes for conventional memory and you would expect to find 3456 kilobytes.  
  84. If your machine has ShadowRAM or Top Memory (see the two paragraphs following) 
  85. then the initial number is 384 kilobytes less than what you would expect.  
  86. This 384K may or may not show up on the next line of this screen as ShadowRAM 
  87. or Top Memory.  It may still be being used for one of these purposes without 
  88. QEMM-386 detecting it, explaining its absence on the initial column of the 
  89. extended line here.  On many systems a lesser amount of memory (typically 
  90. 128k) is reserved for shadowing ROMs and this only shows up as missing on this 
  91. line.
  92.      If you are using the parameter "extmem=xxxx" on the QEMM-386 line then 
  93. this amount of memory will show on the "Leaving" column of the extended line.  
  94. This is unmanaged extended memory left behind by QEMM-386 for those extended 
  95. memory users that will not get the extended memory they desire from the XMS 
  96. manager.  Programs that get their extended memory from the XMS manager 
  97. (Windows 3, smartdrive, pc-kwik, pc-cache, for just a few examples) and any 
  98. VCPI program will not see the memory that is left behind with this parameter.
  99.      NOTE:  An EXTMEM=XXXX cannot be used when XXXX is greater than 15360 (15 
  100. MB) because QEMM-386 redirects the DMA done by others, the DMA controller chip 
  101. cannot address memory above 16384K, and QEMM-386 leaves memory from the bottom 
  102. when an EXTMEM=XXXX is used.  An EXTMEM>15360 will keep QEMM-386 from being 
  103. able to put the DMA buffer in the first 16384K of the address space, 
  104. preventing it from loading.
  105.  
  106. QEMM PARAMETER:  MEMORY (ME or MEM)
  107. MANIFEST VIEW:  QEMM-386/MEMORY
  108.      This parameter limits the amount of memory that QEMM-386 manages.  It is 
  109. a complement to the "EXTMEM" parameter mentioned above.  All the memory that 
  110. QEMM-386 does not manage is left behind as unmanaged extended memory.  You can 
  111. see how much memory this is by going to the QEMM-386/Memory screen of Manifest 
  112. and looking at the "Leaving" column of the "Extended" line.  For more 
  113. information on the meaning of this parameter you can read the above paragraphs 
  114. on the "EXTMEM" parameter.
  115.      
  116. QEMM PARAMETER:  NOSHADOWRAM (NOSH)
  117. MANIFEST VIEW:  QEMM-386/MEMORY
  118.      Still in the QEMM-386 memory screen:  Is the line beneath "Extended", 
  119. "Shadow RAM"?  Then you have ShadowRAM.  ShadowRAM is a kind of memory.  It is 
  120. 384K of memory mapped by the hardware into the address space between 640K and 
  121. 1024K.  When you turn your machine on it copies the contents of ROMs in this 
  122. address space into the shadowRAM and future accesses to the ROM go to this RAM 
  123. instead.  RAM is faster than ROM so your system runs faster.  Since you may 
  124. have 384K of ShadowRAM and not 384K of ROMs to shadow (You probably have only 
  125. 96K or so) the rest of the ShadowRAM is unused.
  126.      QEMM386 (beginning with version 5.0) tries to use this memory.  You can 
  127. see how much of it QEMM uses by looking at the subsequent lines of the 
  128. ShadowRAM line of this screen.  You will see that some of it is unavailable to 
  129. QEMM while some other amount is used.  The amount is variable from machine to 
  130. machine.  Quarterdeck has standardized on the Chips & Technologies definition, 
  131. the most common brand of ShadowRAM.
  132.      Not all manufacturers follow this standard and if theirs is sufficiently 
  133. different QEMM may not detect it or may detect and try to manage it as though 
  134. it were C&T ShadowRAM.  This possibility is why the NOSHADOWRAM (NOSH) switch 
  135. exists.  Give it a try if you have boot problems or other memory problems.  On 
  136. some machines QEMM's attempt to manage ShadowRAM that is insufficiently 
  137. similar to C&T ShadowRAM may cause the machine to reboot continuously.
  138.  
  139. QEMM PARAMETER:  NOTOPMEMORY (NT)
  140. MANIFEST VIEW:  QEMM-386/MEMORY
  141.      Top Memory is a kind of memory that occupies the address space from 
  142. 16000K to 16384K, which is the top of the 16 Megabyte address space. Compaq 
  143. and Micronics use Top Memory for shadowing ROMs.  Beginning with version 5.00 
  144. QEMM-386 tries to use all this memory that is not being used by the system 
  145. already.  If QEMM-386 is managing this memory it will show up on the QEMM-
  146. 386/Memory screen on a separate line underneath the Extended memory line.  If, 
  147. for some reason, QEMM-386 has problems managing a particular implementation of 
  148. Top Memory or it misreads the system in such a way as to think that it has Top 
  149. Memory when it really does not, then this parameter will solve your problem.
  150.  
  151. QEMM PARAMETER:  NOEMS
  152. MANIFEST VIEW:  QEMM-386/MEMORY
  153.      This parameter tells QEMM-386 not to create any expanded memory.  If this 
  154. parameter is on the QEMM386.SYS line of the config.sys then "0K" is in the 
  155. "Leaving" column of the "Expanded" line in the QEMM-386/Memory screen of 
  156. Manifest.
  157.  
  158. QEMM PARAMETER:  RAM
  159. MANIFEST VIEW:  QEMM-386/MEMORY
  160.      This parameter creates high RAM, the memory into which LOADHI loads 
  161. programs high.  The last line of the top box of the QEMM-386/Memory screen of 
  162. Manifest reports how much high RAM QEMM-386 creates.  If the RAM parameter is 
  163. not on the QEMM line (or if there is no vacant high address space) the amount 
  164. in the "Leaving" column of this line is "0K".  This parameter can be used to 
  165. create high RAM only in limited portions of the address space by restricting 
  166. it with a statement such as "RAM=B000-B7FF", which will create high RAM only 
  167. from B000 to B7FF.
  168.  
  169. QEMM PARAMETER: TASKS (TA)
  170. MANIFEST VIEW:  QEMM-386/MEMORY
  171.      In the lower box of the QEMM-386/Memory screen of Manifest is "Tasks:         
  172. 8K".  Tasks are internal QEMM-386 data structures used to handle interrupts 
  173. out of protected mode.  All DOS interrupts must be handled in real mode.  QEMM 
  174. switches the machine out of protected mode (into which it must put the machine 
  175. to do its job) for the duration of this interrupt.  Tasks are used to store 
  176. the information that must be saved when this is done.  Extended memory is used 
  177. for Tasks, not conventional memory.  The default number of tasks (16) is 
  178. likely to be enough for any user.
  179.  
  180. QEMM PARAMETER:  DMA (DM)
  181. MANIFEST VIEW:  QEMM-386/MEMORY
  182.      Underneath "Tasks" is "DMA Buffer:         12K".  DMA is the acronym for 
  183. Direct Memory Address.  Some devices (most floppy disk controllers, some 
  184. network cards, some hard disk controllers, many tape back-ups) use DMA.  This 
  185. is a way to allow information to be transferred from the disk (network, etc.) 
  186. to memory directly without burdening the CPU to perform the transfer.  QEMM-
  187. 386 must divert DMA that is headed into mapped memory.  QEMM-386 sets aside a 
  188. default DMA buffer of 12K. This can be raised with the parameter DMA=XX where 
  189. "XX" represents any number from 12 to 128.  Some devices may require a larger 
  190. DMA buffer. If a program demands a larger DMA buffer QEMM-386 will post an 
  191. error message telling the user to increase the size of the DMA buffer.  If you 
  192. have a program, such as a tape backup, fail, even if this error message is not 
  193. reported raising the size of the DMA buffer is worth a try.
  194.  
  195. QEMM-386 PARAMETER:  MAPS (MA)
  196. MANIFEST VIEW:  QEMM-386/MEMORY
  197.      At the top of the second column in the lower box of the QEMM-386/Memory 
  198. screen of Manifest is "Maps:       32K".  MAPS are alternate maps, an 
  199. equivalent of the hardware registers used by some EMS boards to help operating 
  200. environments switch quickly between processes.  In DESQview each window uses 
  201. one of these alternate maps.   If DESQview runs out of alternate maps, it must 
  202. save and restore the entire expanded memory map between processes.  This 
  203. results in much less efficient multitasking. Each MAP uses 4K of extended 
  204. memory (no conventional memory).  The default is 8 maps.  Raise this number if 
  205. you wish to multitask efficiently more windows than you currently have MAPS 
  206. allocated for (The maximum is 56.) or drop it to 0 (with MA=0) if you do not 
  207. use DESQview.  Microsoft Windows does not use the MAPS QEMM-386 sets aside.
  208.  
  209. QEMM-386 PARAMETER:  ROM
  210. MANIFEST VIEW:  QEMM-386/MEMORY
  211.      On the second row of the second column of the lower box of the QEMM-
  212. 386/Memory screen is a line that reads:  "Mapped ROM:         4K" (or some 
  213. number).  This shows the amount of memory that QEMM-386 is using to map ROMs.  
  214. Mapping ROM is creating RAM in the same portion of the address space that a 
  215. ROM occupies and copying the contents of the ROM into this RAM.  Then accesses 
  216. of ROM will go to RAM.  Accessing RAM is faster than accessing ROM so this 
  217. will speed the performance of the machine.  The number on this line indicates 
  218. the amount of memory (extended memory, not conventional memory) used to map 
  219. ROMs.  When the ROM parameter is used without restriction then all ROMs are 
  220. mapped.  The ROM parameter can be used with restriction (ROM=C000-C7FF, for 
  221. example) to ROM only this portion of the address space.  If QEMM-386 is not 
  222. discovering a ROM that you know is there you may need to use a restricted ROM= 
  223. statement for QEMM-386 to map this ROM.
  224.      On Compaqs (and some other machines that QEMM-386 detects as having this 
  225. same feature.), QEMM-386 automatically maps some ROMs.  
  226.      The ROM parameter provides the same service that ShadowRAM does. You 
  227. should not use the ROM parameter on QEMM-386 if you are using the built-in 
  228. ShadowRAM of your computer, not because it will cause a problem, but because 
  229. it will be a waste of memory.
  230.  
  231. QEMM-386 PARAMETER:  NOROM (NR)
  232. MANIFEST VIEW:  QEMM-386/MEMORY
  233.      By default QEMM-386 maps the reboot page of the system ROM (See the above 
  234. paragraph for a discussion of mapping ROM).  QEMM-386 does this in order to 
  235. detect reboots more readily.  This is why there is at least 4k of mapped ROM 
  236. being reported on the second column of the lower box of the QEMM-386/Memory 
  237. screen of Manifest ("Mapped ROM:     4K").  This feature is defeated by the 
  238. NOROM (NR) parameter.  Using this parameter may cause problems rebooting.
  239.  
  240.      The third stop of the tour is the Overview screen of the First Meg 
  241. section.
  242.  
  243. QEMM-386 PARAMETER:  NOXBDA (NX)
  244. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  245.      We have already discussed this in a previous paragraph but we can see it 
  246. again on this screen.  If there is a line in the First Meg/Overview screen 
  247. that looks like this:
  248.  
  249.                 ===Conventional memory ends at 639K====
  250.            9FC0-9FFF      1K        Extended BIOS Data Area
  251.  
  252. then you have an XBDA.  QEMM-386 will move this by default unless the NOXBDA 
  253. parameter is on the QEMM-386 line of the config.sys.  This issue is discussed 
  254. in greater detail in the above paragraph on this same parameter.  Of course, 
  255. if QEMM-386 has moved your XBDA, as it does by default, this line will not 
  256. appear.
  257.  
  258. QEMM-386 PARAMETER:  EXCLUDE=MMMM-NNNN (X=MMMM-NNNN)
  259. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  260.      The EXCLUDE=MMMM-NNNN parameter tells QEMM-386 not to map the portion of 
  261. the address space bounded below by MMMM and above by NNNN.  Any portion of the 
  262. address space that QEMM-386 is kept from mapping by an EXCLUDE that it does 
  263. not recognize as already being occupied by some other device will be described 
  264. as "Unused" on the First Meg/Overview screen of Manifest.  If Manifest sees 
  265. something (ROM, Adapter RAM, etc.) in the address space already, it will 
  266. continue to report that this is what it sees there.  
  267.  
  268. QEMM-386 PARAMETER:  RAM
  269. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  270.      The portions of the high address space in which QEMM-386 has created high 
  271. RAM will have the description "High RAM" in the First Meg/Overview screen of 
  272. Manifest.  In order for any of the address space to be turned into high RAM 
  273. the RAM parameter must be on the QEMM-386 line of the config.sys.  This is 
  274. discussed in greater detail in the above paragraph about the RAM parameter.
  275.  
  276. QEMM-386 PARAMETER:  ROM
  277. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  278.      The portions of the address space in which QEMM-386 is mapping ROM are 
  279. described as "Mapped ROM" on the First Meg/Overview screen of Manifest. This 
  280. parameter maps RAM into the address space occupied by ROMs and copies the 
  281. contents of those ROMs into this RAM for faster performance.  This feature is 
  282. discussed in greater detail in the ROM section above.
  283.  
  284. QEMM-386 PARAMETER:  ADAPTERRAM=MMMM-NNNN (ARAM=MMMM-NNNN)
  285. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  286.      The portion of the address space bounded below by MMMM and above by NNNN 
  287. with this parameter will be reported as Adapter RAM on the description field 
  288. of the First Meg/Overview screen of Manifest.  This parameter causes the 
  289. portion of the address space bounded by the beginning address ("MMMM") and the 
  290. ending address ("NNNN") not to be mapped by QEMM-386.  This should be used 
  291. when there is a portion of the address space occupied by the adapter RAM of a 
  292. physical device (like a network card).  The only difference between this 
  293. parameter and an EXCLUDE=MMMM-NNNN is that the description the QEMM.COM 
  294. program reports changes to Adapter RAM, rather than "Excluded".
  295.  
  296. QEMM-386 PARAMETER:  ADAPTERROM=MMMM-NNNN (AROM=MMMM-NNNN)
  297. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  298.      The portion of the address space bounded below by MMMM and above by NNNN 
  299. with this parameter will be reported as Adapter ROM on the description field 
  300. of the First Meg/Overview screen of Manifest.  This parameter causes the 
  301. portion of the address space bounded by the beginning address ("MMMM") and the 
  302. ending address ("NNNN") not to be mapped by QEMM-386.  This should be used 
  303. when there is a portion of the address space occupied by the adapter ROM of a 
  304. physical device (like a disk controller ROM).  The only difference between 
  305. this parameter and an EXCLUDE=MMMM-NNNN is that the description the QEMM.COM 
  306. program reports changes to Adapter ROM, rather than "Excluded".
  307.  
  308. QEMM-386 PARAMETER:  (FR=XXXX)
  309. MANIFEST VIEW:  FIRST MEG/OVERVIEW
  310.      The location of the page frame is reported on the First Meg/Overview 
  311. screen of Manifest with the description of "Page Frame". The "FRAME=XXXX" 
  312. parameter tells QEMM-386 where to put the page frame.  XXXX can be any 
  313. hexadecinal number that is a multiple of 16K (C000, C400, C800, CC00, D000, 
  314. D400, D800, DC00, E000, etc.)  The page frame is 64K long.  Of course if you 
  315. put your page frame on top of the address space used by the video card, BIOS 
  316. ROM, network card's RAM buffer, etc., you will have trouble.  The default 
  317. setting of FRAME is AUTO, which is achieved by not having a FRAME=XXXX 
  318. statement at all.  QEMM-386 finds the location it feels is most suitable for 
  319. the page frame, usually the highest available free 64K piece of the address 
  320. space.  With Stealth, QEMM versions 6 and above will put the page frame at 
  321. C000, if appropriate, or EC00 by default.
  322.  
  323.      The fourth stop is the BIOS Data screen of the First Meg section.
  324.  
  325. QEMM-386 PARAMETER:  NOXBDA (NX)
  326. MANIFEST VIEW:  FIRST MEG/BIOS DATA
  327.      The third line of the First Meg/BIOS Data screen of Manifest will read 
  328. "0E: Extended Bios Segment   0AF8" (or whatever address at which the XBDA is 
  329. being put) if you have an Extended BIOS Data Area.  The XBDA is discussed in 
  330. greater detail in the NOXBDA section above in the QEMM-386/Memory section and 
  331. there is also a paragraph in the First Meg/Overview section of this document.
  332.  
  333.      The fifth stop is the Timings screen of the First Meg section.
  334.  
  335. QEMM-386 PARAMETER:  ROM
  336. MANIFEST VIEW:  FIRST MEG/TIMINGS
  337.      If the timing of a portion of the address space occupied by a ROM is as 
  338. fast as the portion of the address space occupied by conventional memory 
  339. (Conventional Memory is in the address space beginning at 0000 and running, 
  340. usually, to 9FFF.  The portion of the address space occupied by a ROM should 
  341. be identified as "System ROM", or "Disk ROM", "Video ROM", or "Adapter ROM" on 
  342. the description field of the First Meg/Overview screen of Manifest ) then that 
  343. ROM is being "shadowed" in RAM; see the "ROM" section of the "QEMM-386/Memory" 
  344. section of this document.  If the speeds are the same without the ROM 
  345. parameter on the QEMM line then this service is being performed in hardware.
  346.      If this service is not being performed in hardware then you can use QEMM-
  347. 386 to provide this service by placing the ROM parameter on the QEMM line of 
  348. the config.sys.  You may find that, on some systems, only the system ROM (or 
  349. perhaps system and video ROMs) are being sped up by the system hardware.  If 
  350. you have a ROM that is not being sped up by the system hardware then QEMM-386 
  351. can be used to speed up only a specific range of ROM by using the parameter 
  352. "ROM=MMMM-NNNN" where "MMMM" is the beginning address of the ROM and "NNNN" is 
  353. the ending address of the ROM.  Say you have a Disk ROM at C800-CBFF and your 
  354. system is shadowing the System ROM (typically F000-FFFF) and Video ROM 
  355. (typically C000-C7FF) already but is not shadowing the Disk ROM:  You can put 
  356. the parameter "ROM=C800-CBFF" on the QEMM line of the config.sys to get this 
  357. same service for the disk ROM.  
  358.  
  359.      See the "ROM" section of the QEMM-386/Memory section of this document for 
  360. more discussion of the ROM parameter and the "NOSHADOWRAM" section of of the 
  361. QEMM-386/Memory section of this document for more discussion of the concept of 
  362. shadowing ROMs.
  363.  
  364.  
  365.   ************************************************************************
  366.   *This technical note may be copied and distributed freely as long as it*
  367.   *is distributed in its entirety and it is not distributed for profit.  *
  368.   *         Copyright (C) 1991-2 by Quarterdeck Office Systems           *
  369.   ************************ E N D   O F   F I L E *************************
  370.  
  371.  
  372.  
  373.